import Vue from 'vue'
import VueRouter from 'vue-router'
import Father from '../views/fuchuanzi/father.vue'
import Father2 from '../views/zichuanfu/father2.vue'
import Emit from '../views/xiongdi/emit.vue'
import On from '../views/xiongdi/on.vue'
import Zong from '../views/xiongdi/zong.vue'
Vue.use(VueRouter)

const routes = [
  {
    path: '/father',
    name: 'Father',
    component: Father
  },
  {
    path: '/father2',
    name: 'Father2',
    component: Father2
  },
  {
    path: '/emit',
    name: 'Emit',
    component: Emit
  },
  {
    path: '/on',
    name: 'On',
    component: On
  },
  {
    path: '/zong',
    name: 'zong',
    component: Zong
  }
]

const router = new VueRouter({
  routes
})

export default router
